package cn.jarlen.jwt.tools.antivirus;

import android.content.Context;
import android.util.Log;

import com.alibaba.fastjson.JSON;

import java.util.List;

import cn.jarlen.jwt.tools.menu.IMenuProcess;

/**
 * @author jarlen
 * Create by 2024/7/3 15:13
 */
public class ReadCVE implements IMenuProcess {

    @Override
    public void onExecute(Context context) {
        Log.w("ReadCVE", "读取所有CVE 开始");
        List<CVELib> cveLibList = AntivirusDao.getInstance(context).queryAllCVE();
        Log.w("ReadCVE", "读取所有CVE 完成:" + JSON.toJSONString(cveLibList));
    }
}
